#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Zeshui Xu<i@xuzeshui.com>
# Created Time: 2015-11-11 10:14:31
# Last Modified: 2016-03-07 15:08:41
# File Name: captcha-mobile-send.sh
# Description: 
source ./gl.sh
sign=`echo -n "appkey${appkey}time${reqTime}passport.app.doubimeizhi.com" | md5sum | awk '{print $1}'`

curl -v -d '{"mobile": "18603058017", "bid": '$1', "captcha": "123456"}' "http://${host}/v1/captcha/mobile/validate?appkey=${appkey}&time=${reqTime}&sign=${sign}"
